{"version":3,"sources":["header_menu_init.js"],"names":["BX","addCustomEvent","window","event","initHeaderHandler","initScrollNavHandler","initNavbarNavHandler","initModalAlertHandler","initMenuMultilevelHandler","debounce","headerSelector","makeRelativeSelector","block","querySelectorAll","length","Landing","getMode","$","HSCore","components","HSHeader","init","scrollNavSelector","HSScrollNav","duration","easing","navbarNavSelector","removeAllActive","markActive","navbarModal","querySelector","adjust","children","create","props","className","html","message","menuMultilevel","addMultilevelToggler","selector","markActiveByLid","addActive","document","markActiveByLocation","marked","lid","landingParams","undefined","nav","links","slice","call","getElementsByTagName","pageLinkMatcher","RegExp","forEach","link","matches","href","match","findParent","pageUrl","location","hasAttribute","getAttribute","pathname","hostname","hash","navItem","node","classList","add","text","navItems","removeActive","remove","subMenus","subMenu","parentNavLink","findPreviousSibling","class","hideLevel","showLevel","addClass","events","click","preventDefault","stopPropagation","toggleLevel","target","hasClass","findNextSibling","removeClass"],"mappings":"CAAC,WAEA,aAEAA,GAAGC,eAAeC,OAAQ,wBAAyB,SAAUC,GAE5DC,EAAkBD,GAClBE,EAAqBF,GACrBG,EAAqBH,GACrBI,EAAsBJ,GACtBK,EAA0BL,KAI3BH,GAAGC,eAAe,+BAAgCD,GAAGS,SAASH,EAAsB,MAEpFN,GAAGC,eAAe,gCAAiC,SAAUE,GAE5DG,EAAqBH,KAGtBH,GAAGC,eAAe,4BAA6B,SAAUE,GAExDG,EAAqBH,KAGtBH,GAAGC,eAAe,+BAAgC,SAAUE,GAE3DG,EAAqBH,KAItB,SAASC,EAAkBD,GAE1B,IAAIO,EAAiBP,EAAMQ,qBAAqB,aAChD,GAAIR,EAAMS,MAAMC,iBAAiBH,GAAgBI,OAAS,EAC1D,CAEC,GAAId,GAAGe,QAAQC,YAAc,OAC7B,CACCC,EAAEC,OAAOC,WAAWC,SAASC,KAAKJ,EAAEP,MAKvC,SAASL,EAAqBF,GAE7B,IAAImB,EAAoBnB,EAAMQ,qBAAqB,kBACnD,GAAIR,EAAMS,MAAMC,iBAA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